<?php

class Error extends ModuleController {

    public function show() {
        $args = $this->getArgs();
        $type = $args[0];
        switch ($type) {
            case NOT_FOUND:
                $this->output('Ошибка 404!');
                break;
            case FAIL:
                $this->output('Типа фейл');
                break;
            default:
                break;
        }
        return OK;
    }

}

?>
